<%@ taglib prefix="html" uri="http://www.springframework.org/tags/form" %>
<style>
.error {
	color: #ff0000;
}
</style>
<center>
<h3>Login</h3>
<html:form method="Post" commandName="login"
		action="${pageContext.request.contextPath}/index">
Username: <html:input path="usr"/> <br>
<html:errors path="usr" cssClass="error"/>
Password: <html:password path="pass"/> <br>
<html:errors path="pass" cssClass="error"/>
<input type="submit" value="Login"/>
</html:form>
<html:errors/>
</center>